/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ru.ssau.entities;

import javax.ejb.CreateException;
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;


public interface AuthorizationInfoLocalHome extends EJBLocalHome {

    AuthorizationInfoLocal create(Integer userId, String login, String password) throws CreateException;

    AuthorizationInfoLocal findByPrimaryKey(Integer primaryKey) throws FinderException;

    AuthorizationInfoLocal findByUserId(Integer userId) throws FinderException;

}
